package com.intellagric.mapper;

import com.intellagric.pojo.TraceProcessRecord;
import com.intellagric.pojo.TraceProcessRecordExample;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface TraceProcessRecordMapper {
    long countByExample(TraceProcessRecordExample example);

    int deleteByExample(TraceProcessRecordExample example);

    int deleteByPrimaryKey(String id);

    int insert(TraceProcessRecord record);

    int insertSelective(TraceProcessRecord record);

    List<TraceProcessRecord> selectByExample(TraceProcessRecordExample example);

    TraceProcessRecord selectByPrimaryKey(String id);

    int updateByExampleSelective(@Param("record") TraceProcessRecord record, @Param("example") TraceProcessRecordExample example);

    int updateByExample(@Param("record") TraceProcessRecord record, @Param("example") TraceProcessRecordExample example);

    int updateByPrimaryKeySelective(TraceProcessRecord record);

    int updateByPrimaryKey(TraceProcessRecord record);
}